#include "QT_Dialog.h"
#include "Dialog.h"

QT_Dialog::QT_Dialog(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::QT_DialogClass())
{
    ui->setupUi(this);
    
}

QT_Dialog::~QT_Dialog()
{
    delete ui;
}

void QT_Dialog::on_pushButton_clicked()
{
    Dialog* dialog = new Dialog(this);
    dialog->setWindowTitle("dd");
    dialog->resize(900, 400);
    dialog->setAttribute(Qt::WA_DeleteOnClose);
    dialog->exec();
}


